package com.gxy.learn.design.model.construction.birdge;

import lombok.extern.slf4j.Slf4j;

/**
 * @description: Windows操作系统  扩展抽象化角色
 * @author: gaoxueyong
 * @Date: 2022/11/7 20:12
 */
@Slf4j
public class Windows extends OpratingSystem {
    public Windows(VideoFile videoFile) {
        super(videoFile);
    }

    /**
     * 抽象播放方法
     *
     * @param fileName
     * @return void
     * @Author gaoxueyong
     * @Date 8:12 下午 2022/11/7
     * @Param [fileName]
     */
    @Override
    public void play(String fileName) {
        log.info("Windows系统播放");
        videoFile.decode(fileName);
    }
}
